import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.cmys.money.cloudshop.service.product.ProductService;

@Controller
@RequestMapping("/app/initdata") 
public class InitDataController {

	protected final Log logger = LogFactory.getLog(getClass());
	private final ProductService productService;
	
	@Autowired
	public InitDataController(ProductService productService) {
		super();
		this.productService = productService;
	}

	@RequestMapping(value = "/", method = RequestMethod.GET)
	public void initData() {
		initProductType();
		ininProductInfo();
	}

	private void ininProductInfo() {
		
	}

	private void initProductType() {
		
	}
	
}
